import Vue from 'vue'
import App from '@/App.vue'
import router from '@/router'
import TypeNav from '@/components/TypeNav'
import Pagination from '@/components/Pagination'
import store from '@/store'
import SwiperLoop from '@/components/SwiperLoop'
import 'swiper/css/swiper.min.css'
Vue.config.productionTip = false
import '@/mock/mockServer'
Vue.component('TypeNav',TypeNav)
Vue.component('SwiperLoop',SwiperLoop)
Vue.component('Pagination',Pagination)
new Vue({
  beforeCreate() {
    Vue.prototype.$bus = this
  },
  render: h => h(App),
  router,
  store
}).$mount('#app')
